package com.ruoyi.user.service;

import com.ruoyi.user.domain.UserOrderReview;
import com.ruoyi.user.domain.vo.OrderReviewDetailVO;

import java.util.List;

public interface IUserOrderReviewsService {

    // 级联详情查询（联表用户与商家信息）
    List<OrderReviewDetailVO> selectOrderReviewDetailsByMerchantId(Long merchantId);
    OrderReviewDetailVO selectOrderReviewDetailById(Long reviewId);
    List<OrderReviewDetailVO> selectOrderReviewDetailsByOrderId(Long orderId);

    // 插入订单评价
    int insertOrderReview(UserOrderReview review);
}
